package com.frame.work.common.util;

import java.util.Date;

/**
 * @author wjming
 */
public class BaseFunction {
    public static final String tableName(String tblName) {
        Date date = new Date();
        return String.format("%tY", date) + "_" + String.format("%tm", date) + "_" + tblName;
    }

    public static final String tableName(String tblName, String time) {
        return tblName + "_" + time;
    }
}
